Telegram Group & Telegram Channel
What is the difference between append() and extend() methods?

Both append() and extend() methods are methods used to add elements at the end of a list.

👉append(element): Adds the given element at the end of the list that called this append() method

👉extend(another-list): Adds the elements of another list at the end of the list that called this extend() method

Share and Support
@Python_Codes



tg-me.com/python_codes/217
Create:
Last Update:

What is the difference between append() and extend() methods?

Both append() and extend() methods are methods used to add elements at the end of a list.

👉append(element): Adds the given element at the end of the list that called this append() method

👉extend(another-list): Adds the elements of another list at the end of the list that called this extend() method

Share and Support
@Python_Codes

BY Python Codes


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python_codes/217

View MORE
Open in Telegram


Python Codes Telegram | DID YOU KNOW?

Date: |

Telegram announces Anonymous Admins

The cloud-based messaging platform is also adding Anonymous Group Admins feature. As per Telegram, this feature is being introduced for safer protests. As per the Telegram blog post, users can “Toggle Remain Anonymous in Admin rights to enable Batman mode. The anonymized admin will be hidden in the list of group members, and their messages in the chat will be signed with the group name, similar to channel posts.”

If riding a bucking bronco is your idea of fun, you’re going to love what the stock market has in store. Consider this past week’s ride a preview.The week’s action didn’t look like much, if you didn’t know better. The Dow Jones Industrial Average rose 213.12 points or 0.6%, while the S&P 500 advanced 0.5%, and the Nasdaq Composite ended little changed.

Python Codes from in


Telegram Python Codes
FROM USA